package 软件工程实验三.A1.A13;//Source file: E:\\Projects\\RationRoseProject\\GenerateCode\\Subject.java


import java.util.ArrayList;
import java.util.List;

public class Subject
{
   public List<Student> theStudent = new ArrayList<>();
   public List<Instructor> theInstructor= new ArrayList<>();
   private String name;

   public Subject(String name) {
      this.name = name;
   }
   public String getName() {
      return name;
   }


   public void addStudent(Student item){
      theStudent.add(item);
   }
   public void removeStudent(Student item){
      theStudent.remove(item);
   }
   public void addInstructor(Instructor instructor)
   {
      theInstructor.add(instructor);
   }
   public void removeInstructor(Instructor instructor){
      theInstructor.remove(instructor);
   }
   /**
    * @roseuid 6720E96E02DF
    */
   public Subject() 
   {
    
   }
}
